// 用户搜索
export interface searchUserParams {
  pageSize?: number;
  curPageNum?: number;
  text: string;
}

// 新增用户
export interface addUserParams {
  account?: string;
  password?: string;
}

// 删除用户
export interface delUserParams {
  id?: string;
  account?: string;
  PAGEHELPER_ROW_ID?: number;
}

// 角色查询
export interface searchRoleParams {
  pageSize?: number;
  curPageNum?: number;
  // text?: string;
  empcode?: string;
}

// 角色新增
export interface addRoleParams {
  id?: string;
  text?: string;
}

// 角色删除
export interface delRoleParams {
  id?: string;
  account?: string;
  PAGEHELPER_ROW_ID?: number;
}

// 角色权限
export interface getRoleParams {
  tsRoleId?: string;
}
// 保存角色权限
export interface saveRoleParams {
  menus?: string[];
  role: {
    id?: string;
    text?: string;
    PAGEHELPER_ROW_ID?: number;
  };
}

// 角色新增用户
export interface roleAddUserParams {
  empcode?: string;
  roleid?: string;
}
